TextFontUsage

data class TextFontUsage(val state: BlockState, val text: String, val runs: List<TextFontUsageRun>)

A current shaping snapshot. This does not indicate framebuffer or export completion.

Constructors

Link copied to clipboard
constructor(state: BlockState, text: String, runs: List<TextFontUsageRun>)

Properties

Link copied to clipboard

Font provenance runs. Empty text and pending snapshots have no runs.

Link copied to clipboard

Resource readiness. Pending snapshots have no runs; errors can include fallback runs.

Link copied to clipboard

Resolved text after case transformations and template substitutions. Run indices refer to UTF-16 code units in this string, rather than the editable text/text property.